a11y: Make GtkATContext realization lazier
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Jan 2021 16:39:22 +0000 (16:39 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Jan 2021 16:40:57 +0000 (16:40 +0000)
commit95ceb4977055a3659369551364088340321c1224
tree857ffb07e7c846df095ed0fa11150272b61cbc69
parent0bde58ffd7a72c708102f943a3ed8eaf929a31c1
a11y: Make GtkATContext realization lazier

We only realize the ATContext on the top level, which will create an
GtkAtSpiRoot object and the corresponding GtkAtSpiCache object. Whenever
an AT connects to the accessibility bus, and asks for the various
objects, all the ATContext will be realized on demand.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c